using System;
using ns27;
using Triton.Game.Mono;

namespace Triton.Game.Mapping
{
	[Attribute38("CollectionSearch")]
	public class CollectionSearch : MonoBehaviour
	{
		public UberText m_searchText => method_3<UberText>("m_searchText");

		public PegUIElement m_background => method_3<PegUIElement>("m_background");

		public PegUIElement m_clearButton => method_3<PegUIElement>("m_clearButton");

		public GameObject m_xMesh => method_3<GameObject>("m_xMesh");

		public GameObject m_backgroundWhenAtBottom => method_3<GameObject>("m_backgroundWhenAtBottom");

		public GameObject m_backgroundWhenAtTopNormal => method_3<GameObject>("m_backgroundWhenAtTopNormal");

		public GameObject m_backgroundWhenAtTopWild => method_3<GameObject>("m_backgroundWhenAtTopWild");

		public Color m_altSearchColor => method_2<Color>("m_altSearchColor");

		public static float ANIM_TIME => MonoClass.smethod_6<float>(TritonHs.MainAssemblyPath, "", "CollectionSearch", "ANIM_TIME");

		public static int MAX_SEARCH_LENGTH => MonoClass.smethod_6<int>(TritonHs.MainAssemblyPath, "", "CollectionSearch", "MAX_SEARCH_LENGTH");

		public Material m_origSearchMaterial => method_3<Material>("m_origSearchMaterial");

		public Vector3 m_origSearchPos => method_2<Vector3>("m_origSearchPos");

		public bool m_isActive => method_2<bool>("m_isActive");

		public string m_prevText => method_4("m_prevText");

		public string m_text => method_4("m_text");

		public bool m_wildModeActive => method_2<bool>("m_wildModeActive");

		public GameLayer m_originalLayer => method_2<GameLayer>("m_originalLayer");

		public GameLayer m_activeLayer => method_2<GameLayer>("m_activeLayer");

		public bool m_isTouchKeyboardDisplayMode => method_2<bool>("m_isTouchKeyboardDisplayMode");

		public CollectionSearch(IntPtr address, string className)
			: base(address, className)
		{
		}

		public CollectionSearch(IntPtr address)
			: this(address, "CollectionSearch")
		{
		}

		public void Start()
		{
			method_8("Start");
		}

		public void OnDestroy()
		{
			method_8("OnDestroy");
		}

		public bool IsActive()
		{
			return method_11<bool>("IsActive", Array.Empty<object>());
		}

		public void SetActiveLayer(GameLayer activeLayer)
		{
			method_8("SetActiveLayer", activeLayer);
		}

		public void SetWildModeActive(bool active)
		{
			method_8("SetWildModeActive", active);
		}

		public void Activate(bool ignoreTouchMode)
		{
			method_8("Activate", ignoreTouchMode);
		}

		public void Deactivate()
		{
			method_8("Deactivate");
		}

		public void Cancel()
		{
			method_8("Cancel");
		}

		public string GetText()
		{
			return method_13("GetText");
		}

		public void ClearFilter(bool updateVisuals)
		{
			method_8("ClearFilter", updateVisuals);
		}

		public void SetEnabled(bool enabled)
		{
			method_8("SetEnabled", enabled);
		}

		public void OnBackgroundReleased(UIEvent e)
		{
			method_8("OnBackgroundReleased", e);
		}

		public void OnClearReleased(UIEvent e)
		{
			method_8("OnClearReleased", e);
		}

		public void OnActivateAnimComplete()
		{
			method_8("OnActivateAnimComplete");
		}

		public void OnDeactivateAnimComplete()
		{
			method_8("OnDeactivateAnimComplete");
		}

		public void ShowInput(bool fromActivate)
		{
			method_8("ShowInput", fromActivate);
		}

		public void HideInput()
		{
			method_8("HideInput");
		}

		public void ClearInput()
		{
			method_8("ClearInput");
		}

		public void OnInputUpdated(string input)
		{
			method_8("OnInputUpdated", input);
		}

		public void OnInputComplete(string input)
		{
			method_8("OnInputComplete", input);
		}

		public void OnInputCanceled(bool userRequested, GameObject requester)
		{
			method_8("OnInputCanceled", userRequested, requester);
		}

		public void UpdateSearchText()
		{
			method_8("UpdateSearchText");
		}

		public void MoveToActiveLayer(bool saveOriginalLayer)
		{
			method_8("MoveToActiveLayer", saveOriginalLayer);
		}

		public void MoveToOriginalLayer()
		{
			method_8("MoveToOriginalLayer");
		}

		public void TouchKeyboardSearchDisplay(bool fromActivate)
		{
			method_8("TouchKeyboardSearchDisplay", fromActivate);
		}

		public void ResetSearchDisplay()
		{
			method_8("ResetSearchDisplay");
		}

		public void OnKeyboardShown()
		{
			method_8("OnKeyboardShown");
		}

		public void OnKeyboardHidden()
		{
			method_8("OnKeyboardHidden");
		}

		public void UpdateBackground()
		{
			method_8("UpdateBackground");
		}
	}
}
